<!-- 引入公共部分 -->
{{extend './common/layout.html'}}
<!-- 引入css链接（填空） -->
{{block 'link'}}
<link rel="stylesheet" href="/static/home/css/shopstage.css">
<link rel="stylesheet" href="/static/home/css/myshops.css">
<!-- <script src="https://unpkg.com/axios/dist/axios.min.js"></script> -->
<script type="text/javascript" src="/static/home/js/shopstage.js"></script>
<script type="text/javascript" src="/static/home/js/shopstagechange.js"></script>
<link rel="stylesheet" href="https://cdn.staticfile.org/font-awesome/4.7.0/css/font-awesome.css">
{{/block}}
<!-- 引入主题部分（填空） -->
{{block 'main'}}
<!-- 引入头部代码 -->
<header>
    {{include './common/header.html'}}
    {{include './common/aside.html'}}
</header>
<p id="di" hidden="hidden">{{userInfoL.userInfo.id}}</p>
    <div class="top">
        <div class="back">商家后台</div>
        <div class="returnCenter"><a href="./center">前往个人中心</a></div>
    </div>
    <div class="body">
        <div class="box">
            <div class="bodySide">
                <div class="shops">
                    <div class="sideTop">
                        店铺管理
                    </div>
                    <div class="sideLines" onclick="searchMyShops()">我的店铺</div>
                    <div class="sideLines" onclick="shopmessages()">店铺信息</div>
                </div>
                <div class="order">
                    <div class="sideTop">
                        订单管理
                    </div>
                    <div class="sideLines" onclick="jumpTosearchMyOrders(1)">订单查询</div>
                    <div class="sideLines" onclick="userrefund(1)">用户退款</div>
                    <!-- <div class="sideLines">拒收订单</div> -->
                </div>
                <!-- <div class="after">
                    <div class="sideTop">
                        售后管理
                    </div>
                    <div class="sideLines">人工客服</div>
                </div> -->
                <div class="goods">
                    <div class="sideTop">
                        商品管理
                    </div>
                    <div class="sideLines"><a href="./add" style="color: gray;">新品上架</a></div>
                    <div class="sideLines" onclick="jumpTogetGoodinShop()">我的商品</div>
                    <div class="sideLines" onclick="jumpTosearchComments()">店铺评价</div>
                </div>
            </div>
            <div class="bodyMain" id="bodyMain">
                <div class="myMessage" id="myMessage">
                    <div class="order">我的商品</div>
                    <div class="myGoods">
                            <table id="table">
                                <thead class="thead">
                                <tr>
                                    <th class="th1">商品信息</th>
                                    <th class="th2">当前价</th>
                                    <th class="th4">库存</th>
                                    <th class="th5">月销量</th>
                                    <th class="th6">上架时间</th>
                                    <th class="th7">操作</th>
                                </tr>
                                </thead>
                                <tbody id="tbody">
                                    <tr>
                                        <td>
                                            <img src="/static/home/img/2.png">
                                            <div class="message">
                                                彪马2021新款 舒适背负 男女款轻便耐磨22L双肩背包
                                            </div>
                                        </td>
                                        <td>
                                            <div class="price">127</div>
                                            <div class="changeprice">修改价格</div>
                                        </td>
                                        <td>
                                            <div class="stock">127</div>
                                            <div class="changestock">修改库存</div>
                                        </td>
                                        <td>
                                            <div class="sold">0</div>
                                        </td>
                                        <td>
                                            <div class="time">2021/10/30</div>
                                        </td>
                                        <td>
                                            <div class="change">编辑</div>
                                            <div class="takeOff">下架</div>
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                    </div>
                </div>
                <div id="paging">
                    <select name="pageSize" id="pageSize">
                        <option value="5">5条/页</option>
                        <option value="10">10条/页</option>
                        <option value="15">15条/页</option>
                    </select>
                    <button id="turnToFirst">首页</button>
                    <span class="span">当前页数</span>
                    <i class="fa fa-angle-left fa-1g" aria-hidden="true" id="leftbtn"></i>
                    <span class="pagebox" id="pagebox">
                        <button class="page">1</button>
                        <button class="page">2</button>
                        <button class="page">3</button>
                        <button class="page">4</button>
                        <button class="page">5</button>
                    </span>
                    <i class="fa fa-angle-right fa-1g" aria-hidden="true" id="rightbtn"></i>
                    <button id="turnToLast">尾页</button>
                    <input type="text" name="pagenumber" class="pagenumber" id="pagenumber" onkeyup="this.value=this.value.replace(/[^\d{0-9}]/g,'')" maxlength="2" placeholder="">页
                    <button class="jumpto" id="jumpto">跳转</button>
                </div>
            </div>
        </div>
    </div>
    <div class="float">
        <div id="floatContent" class="floatContent hide">
        </div>
    </div>
    <div class="float">
        <div id="changeContent" class="floatContent hide">
            <div class="expressChoose">
                快递品牌:
                <select name="expressBrandId" id="expressBrandId">
                    <option value="1">韵达</option>
                    <option value="2">圆通</option>
                    <option value="3">百世</option>
                    <option value="4">中通</option>
                    <option value="5">顺丰</option>
                    <option value="6">邮政</option>
                    <option value="7">京东</option>
                    <option value="8">申通</option>
                    <option value="9">EMS</option>
                </select>
                快递类型:
                <select name="expressTypeId" id="expressTypeId">
                    <option value="1">衣物</option>
                    <option value="2">箱包</option>
                    <option value="3">母婴</option>
                    <option value="4">鞋类</option>
                    <option value="5">美妆</option>
                    <option value="6">生鲜</option>
                    <option value="7">运动户外</option>
                    <option value="8">茶酒</option>
                    <option value="9">生活电器</option>
                    <option value="10">文具</option>
                    <option value="11">零食</option>
                    <option value="12">数码设备</option>
                    <option value="13">医疗保健</option>
                </select>
            </div>
            <div class="form-group">
                <label for="tel">商家备注&nbsp;:&nbsp;</label>
                <input type="text" class="form-control" name="address" id="changeAddress" placeholder="详细地址">
            </div>
            <div class="form-group">
                <label for="address">发货地址&nbsp;:&nbsp;</label>
                <input type="text" class="form-control" name="address" id="changeAddress" placeholder="详细地址">
            </div>
            <button id="changeThis" onclick="addExpress()">确认</button>
            <button id="giveup" onclick="giveup()">取消</button>
        </div>
    </div>
    <footer>
        {{include './common/footer.html'}}
    </footer>
    {{/block}}